//
//  BC_ParserStringGame.h
//  CocOth
//
//  Created by BrunoCausse on 06/12/10.
//  Copyright 2010-2013 poulailler cie. All rights reserved.
//

#import <Cocoa/Cocoa.h>

enum stringType {
	unknownType,	//0
	ggfType,		//1
	pgnType,		//2
	boardType,		//3
	listMovesType	//4
};


@interface BC_ParserStringGame : NSObject {
	
	NSString		*stringGame;
	
	int				type;
	

}

@property (readwrite, retain) NSString *stringGame; ///Copy
@property (readonly, assign) int type;


- (id)initWithString:(NSString *)game;

- (NSString *)event;
- (NSString *)site;
- (NSString *)date;
- (NSString *)playerBlack;
- (NSString *)playerWhite;
- (NSString *)result;

- (NSString *)board;
- (NSArray *)listMoves;

@end
